/*
*所有关于PurchaseReturn类的业务代码接口应在此处编写
*/
using Microsoft.AspNetCore.Mvc;
using System.Linq.Expressions;
using VOL.Core.BaseProvider;
using VOL.Core.Utilities;
using VOL.Domain.Dto;
using VOL.Entity.DomainModels;
namespace VOL.Domain.IServices
{
    public partial interface IPurchaseReturnService
    {
        public PageGridData<PurchaseReturn> GetPurchaseReturns(GetPurchaseReturnsDto dto);
        // 添加
        Task< WebResponseContent> AddPurchaseReturn(PurchaseReturn entity);

        // 修改
        Task< WebResponseContent> UpdatePurchaseReturn(PurchaseReturn entity);
        Task<WebResponseContent> UpdatePurchaseReturnStates(int id, int states);
        Task<WebResponseContent> BatchDeletePurchaseReturn([FromBody] int[] ids);
    }
 }
